from flask import Blueprint
from .views import Login,FrontUserReSource,Charts,SettingResource,TransferReSource
from flask_restful import Api

BP = Blueprint('cms',__name__)
BP_API = Api(BP)
BP_API.add_resource(Login,'/cms/login/',endpoint='login')
BP_API.add_resource(FrontUserReSource,'/cms/frnotuser/')
BP_API.add_resource(Charts,'/cms/charts/')
BP_API.add_resource(SettingResource,'/cms/setting/')
BP_API.add_resource(TransferReSource,'/cms/transfer/',endpoint='his')


